package com.gj.xxl.job.core.biz.model;

public class TriggerParam {

    //jobId
    private Integer jobId;

    //就是@xxljob() 里面写的方法名称
    private String executorHandler;

    private String executorBlockStrategy;

    private Integer executorTimeout;

    public TriggerParam(Integer jobId, String executorHandler, String executorBlockStrategy, Integer executorTimeout) {
        this.jobId = jobId;
        this.executorHandler = executorHandler;
        this.executorBlockStrategy = executorBlockStrategy;
        this.executorTimeout = executorTimeout;
    }

    public String getExecutorBlockStrategy() {
        return executorBlockStrategy;
    }

    public String getExecutorHandler() {
        return executorHandler;
    }

    public Integer getJobId() {
        return jobId;
    }

    public Integer getExecutorTimeout() {
        return executorTimeout;
    }
}
